<?php
require_once("jssdk.php");
$jssdk = new jssdk("wx19f6c4c7bef17372", "18d131e561501839bb3aacf8c6c123c3");
$signPackage = $jssdk->GetSignPackage();
?>


<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <title></title>
    <script type="text/javascript" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
    <link rel="stylesheet" type="text/css" href="css/font-awesome.min.css"/>
    <link rel="stylesheet" type="text/css" href="css/reset.css"/>
    <link rel="stylesheet" type="text/css" href="css/index.css"/>
    <link rel="stylesheet" type="text/css" href="css/swiper-3.3.1.min.css"/>
</head>
<body>
	<div id="box">
		
	</div>
	<footer>
		<a href="#index" id="home">
			<i class="icon-home coloryellow"></i>
			<div>首页</div>
		</a>
		<a href="#chaoshi" id="chaoshi">
			<i class="icon-fighter-jet"></i>
			<div>闪送超市</div>
		</a>
		<a href="#yuDing" id="yuDing">
			<i class="icon-reorder"></i>
			<div>新鲜预定</div>
		</a>
		<a href="#shop" id="shop">
			<i class="icon-shopping-cart"></i>
			<div>购物车</div>
			<span>1</span>
		</a>
		<a href="#Mys" id="Mys">
			<i class="icon-user"></i>
			<div>我的</div>
		</a>
	</footer>
</body>
<script type="text/javascript" src="js/flexible.js"></script>
<script type="text/javascript" src="js/require.js" data-main="main"></script>
<script type="text/javascript">
	wx.config({
			debug : true,// 开启调试模式,调用的所有api的返回值会在客户端alert出来，若要查看传入的参数，可以在pc端打开，参数信息会通过log打出，仅在pc端时才会打印。
			appId : '<?php echo $signPackage["appId"]?>',
			timestamp: '<?php echo $signPackage["timestamp"]?>', // 必填，生成签名的时间戳
			nonceStr: '<?php echo $signPackage["nonceStr"]?>', // 必填，生成签名的随机串
			signature: '<?php echo $signPackage["signature"]?>',// 必填，签名，见附录1
			jsApiList: [
				'scanQRCode',
				
			] // 必填，需要使用的JS接口列表，所有JS接口列表见附录2
		})
</script>
</html>